package com.ruoyi.record.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收支记录对象 erp_finance_record
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
public class ErpFinanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID，主键 */
    private Long recordId;

    /** 月份 */
    @Excel(name = "月份")
    private String month;

    /** 付款总计 */
    @Excel(name = "付款总计")
    private BigDecimal paymentTotal;

    /** 收款总计 */
    @Excel(name = "收款总计")
    private BigDecimal receiptTotal;

    /** 其他费用总计 */
    @Excel(name = "其他费用总计")
    private BigDecimal expenseTotal;

    /** 其他收入总计 */
    @Excel(name = "其他收入总计")
    private BigDecimal incomeTotal;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }

    public void setPaymentTotal(BigDecimal paymentTotal) 
    {
        this.paymentTotal = paymentTotal;
    }

    public BigDecimal getPaymentTotal() 
    {
        return paymentTotal;
    }

    public void setReceiptTotal(BigDecimal receiptTotal) 
    {
        this.receiptTotal = receiptTotal;
    }

    public BigDecimal getReceiptTotal() 
    {
        return receiptTotal;
    }

    public void setExpenseTotal(BigDecimal expenseTotal) 
    {
        this.expenseTotal = expenseTotal;
    }

    public BigDecimal getExpenseTotal() 
    {
        return expenseTotal;
    }

    public void setIncomeTotal(BigDecimal incomeTotal) 
    {
        this.incomeTotal = incomeTotal;
    }

    public BigDecimal getIncomeTotal() 
    {
        return incomeTotal;
    }

    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("month", getMonth())
            .append("paymentTotal", getPaymentTotal())
            .append("receiptTotal", getReceiptTotal())
            .append("expenseTotal", getExpenseTotal())
            .append("incomeTotal", getIncomeTotal())
            .append("balance", getBalance())
            .toString();
    }
}
